package com.itheima.多态.多态语法下的成员特点_02;

public class Demo {
    public static void main(String[] args) {
        Animal a = new Cat();
        System.out.println(a.age);
        a.eat();
    }
}
